package com.it.sun.yuebike.framework.model.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @ClassName Result
 * @Author sunmannian
 * @Date 2021/5/31 14:29
 * @Version V1.0
 * Description  <响应结果>
 * Copyright (C) 北京中电兴发科技有限公司  since 2021/5/31
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class Result<T> implements Serializable {

    @ApiModelProperty("响应状态码")
    private String code;

    @ApiModelProperty("响应消息内容")
    private String msg;

    @ApiModelProperty("响应数据")
    private T data;

}






